/*
 * TeleStax, Open Source Cloud Communications  Copyright 2012.
 * and individual contributors
 * by the @authors tag. See the copyright.txt in the distribution for a
 * full listing of individual contributors.
 *
 * This is free software; you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation; either version 2.1 of
 * the License, or (at your option) any later version.
 *
 * This software is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this software; if not, write to the Free
 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
 */

package org.mobicents.protocols.ss7.map.api.service.mobility.subscriberManagement;

/**
 * 

ODB-GeneralData ::= BIT STRING {
	allOG-CallsBarred  (0),
	internationalOGCallsBarred  (1),
	internationalOGCallsNotToHPLMN-CountryBarred  (2),
	interzonalOGCallsBarred (6),
	interzonalOGCallsNotToHPLMN-CountryBarred (7),
	interzonalOGCallsAndInternationalOGCallsNotToHPLMN-CountryBarred (8),
	premiumRateInformationOGCallsBarred  (3),
	premiumRateEntertainementOGCallsBarred  (4),
	ss-AccessBarred  (5),
	allECT-Barred (9),
	chargeableECT-Barred (10),
	internationalECT-Barred (11),
	interzonalECT-Barred (12),
	doublyChargeableECT-Barred (13),
	multipleECT-Barred (14),
	allPacketOrientedServicesBarred (15),
	roamerAccessToHPLMN-AP-Barred  (16),
	roamerAccessToVPLMN-AP-Barred  (17),
	roamingOutsidePLMNOG-CallsBarred  (18),
	allIC-CallsBarred  (19),
	roamingOutsidePLMNIC-CallsBarred  (20),
	roamingOutsidePLMNICountryIC-CallsBarred  (21),
	roamingOutsidePLMN-Barred  (22),
	roamingOutsidePLMN-CountryBarred  (23),
	registrationAllCF-Barred  (24),
	registrationCFNotToHPLMN-Barred  (25),
	registrationInterzonalCF-Barred  (26),
	registrationInterzonalCFNotToHPLMN-Barred  (27),
	registrationInternationalCF-Barred  (28)} (SIZE (15..32))
	-- exception handling: reception of unknown bit assignments in the
	-- ODB-GeneralData type shall be treated like unsupported ODB-GeneralData
	-- When the ODB-GeneralData type is removed from the HLR for a given subscriber, 
	-- in NoteSubscriberDataModified operation sent toward the gsmSCF 
	-- all bits shall be set to O.

 * 
 * 
 * @author sergey vetyutnev
 * 
 */
public interface ODBGeneralData {

	public boolean getAllOGCallsBarred();

	public boolean getInternationalOGCallsBarred();

	public boolean getInternationalOGCallsNotToHPLMNCountryBarred();

	public boolean getInterzonalOGCallsBarred();

	public boolean getInterzonalOGCallsNotToHPLMNCountryBarred();

	public boolean getInterzonalOGCallsAndInternationalOGCallsNotToHPLMNCountryBarred();

	public boolean getPremiumRateInformationOGCallsBarred();

	public boolean getPremiumRateEntertainementOGCallsBarred();

	public boolean getSsAccessBarred();

	public boolean getAllECTBarred();

	public boolean getChargeableECTBarred();

	public boolean getInternationalECTBarred();

	public boolean getInterzonalECTBarred();

	public boolean getTBarred();

	public boolean getMultipleECTBarred();

	public boolean getAllPacketOrientedServicesBarred();

	public boolean getRoamerAccessToHPLMNAPBarred();

	public boolean getRoamerAccessToVPLMNAPBarred();

	public boolean getRoamingOutsidePLMNOGCallsBarred();

	public boolean getAllICCallsBarred();

	public boolean getRoamingOutsidePLMNICCallsBarred();

	public boolean getRoamingOutsidePLMNICountryICCallsBarred();

	public boolean getRoamingOutsidePLMNBarred();

	public boolean getRoamingOutsidePLMNCountryBarred();

	public boolean getRegistrationAllCFBarred();

	public boolean getRegistrationCFNotToHPLMNBarred();

	public boolean getRegistrationInterzonalCFBarred();

	public boolean getRegistrationInterzonalCFNotToHPLMNBarred();

	public boolean getRegistrationInternationalCFBarred();

}
